package com.woniuxy.joylifemarket.feign;


import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient(value = "JOYLIFE-CENTER")
public interface ForbiddenWordsFeign {

    /**
     * @return java.lang.Integer
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [words]
     * @Description 禁词审核
     **/

    @ApiOperation(value = "/checkWords", notes = "禁词审核")
    @RequestMapping("/checkWords")
    @ResponseBody
    public Integer checkWords(@RequestBody List<String> words);


}
